//
//  GCZAFNetWorking.h
//  kdxyhd
//
//  Created by Macey Chen on 16/8/11.
//  Copyright © 2016年 zjw. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GCZAFNetWorking : NSObject


+ (void)POST:(NSString *)URL params:(NSDictionary * )params success:(void (^)(id response))success
     failure:(void (^)(NSURLSessionDataTask *operation,NSError *error))Error;

+ (void)GET:(NSString *)URL success:(void (^)(id response))success
    failure:(void (^)(NSURLSessionDataTask *operation,NSError *error))Error;
+ (void)GET:(NSString *)URL parameters:(NSDictionary *)parameters success:(void (^)(id response))success
    failure:(void (^)(NSURLSessionDataTask *operation,NSError *error))Error;
@end
